<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; utf-8"/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>
    <title><%= @title || SITE_NAME %></title>
    <%= javascript_include_tag :defaults, 'jquery', 'thickbox', 'truncator', :cache=>true %>
    <%= stylesheet_link_tag 'bm', 'forum', 'thickbox', :cache=>true %>
    <style type="text/css" media="all">

        .content .center p {
                color: #FFF;
                }
                .content .right .title {
                        text-align: left;
                        }
                .Fontside {
                        font-size: 100px;
                        }
    </style>

    <%= yield :head %>

    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="/javascripts/pngfix.js"></script>
    <![endif]-->

</head>

<body>
<div class="content">
    <div class="toph"></div>

    <div class="sidebar">
        <div class="title"><a href="/"></a></div>

        <h2>Top Reviews:</h2>
        <ul>
            <li><a href="#">Review Number One</a></li>
            <li><a href="#">Review Number Two</a></li>
            <li><a href="#">Review Number Three</a></li>
            <li><a href="#">Review Number Four</a></li>
            <li><a href="#">Review Number Five</a><br/>
            </li>
        </ul>
        <hr/>
        <h2>Newest Members:</h2>
        <ul>
            <%= render :partial => 'profiles/newest_member', :collection => new_members %>
        </ul>
        <hr/>
        <h2>Latest Forum Topics:</h2>
        <ul>
            <%= render :partial => 'forum_topics/new_topic', :collection => recent_forum_posts %>
        </ul>

        <p>&nbsp;</p>

        <h2>Search The Music...</h2>

        <form action="#">
            <input type="text" value="" class="text"/>
            <input type="submit" value="Go" class="searchbutton"/>
        </form>
        <br/><br/>
        <hr/>

        <div class="footer_text">
            <% if @u.nil? or @u.new_record? %>
                <strong>You must <%= link_to 'Login', login_path %> or <%= link_to 'Sign-up', signup_path %> to
                    participate</strong>
            <% else %>
                <%= icon(@p, :small) unless @p.blank? %>
                <strong>Hi, <%= @u.f %></strong> <%= link_to '(logout)', logout_path %>
            <% end %>

           <p> &copy; Copyright Blind Messiah<br/>
            Design: <a href="#" title="Contact Liam Joseph Halligan">Liam Joseph Halligan</a><br/>
            <a href="rss/">RSS Feed</a></p>
        </div>

    </div>


    <div id="main" class="center">
        <%= display_standard_flashes %>
        <%= yield %>
    </div>


    <%= render :partial => 'shared/footer' %>
</div>

</body>
</html>